<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
       <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
    <link href="${ctx}/resources/admin/css/jqpagination.css" rel="stylesheet">
    <link href="${ctx}/resources/admin/css/zTreeStyle.css" rel="stylesheet">
    <link type="text/css" href="${ctx}/resources/artDialog/skins/black.css" rel="stylesheet" />
</head>
<body>
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>
<div id="main">
<div id="content" class="orgStr">
    <div class="hd">
        <span>固定群组管理</span>
        <a href="javascript:;" class="btn blue-btn fr" id="newAdd">新增群组</a>
    </div>
     <div class="search-box" style="border-top: none">
          <form action="../userconfig/group_management!list.xhtml" method="post" class="" name="form1">
                <input type="text" class="itext gray" id="findGroup" name="uname" value="输入群名字搜索">
                <button class="btn blue-btn" type="submit">查询</button>
          </form>
        </div>
    
   <table class="table-list">
       <tr>
           <th>群组名称</th>
           <th>创建时间</th>
           <th>管理员</th>
           <th>操作</th>
       </tr>
       
    <s:iterator value="pager.result" status="i" var="ss">
       <tr>
           <td><a href ="../userconfig/group_management!listInfo.xhtml?groupid=${groupid}">${groupname}</a></td>
           <td><s:date name="updateTime" format="yyyy-MM-dd HH:mm:ss" /></td>
           <td>${mainNames}</td>
           <td> <!--  <a href="javascript:;" class="announcement" >发布群公告</a> &nbsp;&nbsp; <a href="javascript:;" class="cancellation">注销</a>--> 
           
            <a href="javascript:qy('<s:property value="groupid" />',<s:property value="forbidden" />);"  id="ss<s:property value="groupid" />" class="cancellation"><s:if test="forbidden==0">已启动</s:if><s:elseif test="forbidden==1">已注销</s:elseif></a>
           </td>
       </tr>
    </s:iterator>
   </table>
        <s:if test="pager.totalCount > 0">
			<jsp:include page="/jsps/admin/inc/pager.jsp">
				<jsp:param name="pageUrl" value="${ctx}/log/system_log!list.xhtml" />
			</jsp:include>
		</s:if>
		<s:else>
			<div class="pages" align="center">没有找到任何记录!</div>
		</s:else>
</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>
<!--新增群组-->
<div class="popbox w540" id="addGroud" >
    <div class="popbox-hd">
        <h2>新增群组</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd clearfix">
        <p><label>群组名称：</label><input type="text" class="itext"  name="groupName" id="groupName" /></p>
        <p><label>群组描述：</label><input type="text" class="itext" name="groupMs" id="groupMs" /></p>
        <p><label style="vertical-align: top;">群组成员：</label><textarea rows="5" id="userIdsTxt"></textarea> <button class="btn blue-btn" id="addMember"  style="margin-left: 20px;">添加成员</button> </p>
        <p style="display: none;"><label>群管理员：</label><textarea id="amdinUserIdsTxt" rows="5"></textarea><button class="btn blue-btn" id="addMemberAdmin" style="margin-left: 20px;">添加管理员</button> </p>
       <input type="hidden"  id="userIds"/>
        <input type="hidden"  id="amdinUserIds"/>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn"  id="btnSbm">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>

<!--新增账户-->
<div class="popbox w800" id="personnelSelection" style="display: none;">
    <div class="popbox-hd">
        <h2>人员选择</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <div class="selectionTop">
            <form action="" method="">
            <ul class="searchSelection">
                <li class="selectionName">姓名/账号</li>
                <li class="selectionSearch"><input type="text" class="itext" id="personnelSelection_text"></li>
                <li class="selectionBtn"><button type="button" class="btn gray-btn" id="personnelSelection_search">查询</button>
                 <button type="reset" class="btn gray-btn">清空</button> </li>
            </ul>
            </form>
            <div class="zTreeDemoBackground">
                <ul id="treeDemo" class="ztree">
                </ul>
            </div>
        </div>
        <div class="selectionBot">
            <div class="selectionLeft mobile">
                <div class="pagination paginationLeft">
                    <a href="#" class="first" data-action="first">&laquo;</a>
                    <a href="#" class="previous" data-action="previous">&lsaquo;</a>
                    <input type="text" readonly="readonly" data-max-page="40" />
                    <a href="#" class="next" data-action="next">&rsaquo;</a>
                    <a href="#" class="last" data-action="last">&raquo;</a>
                </div><br>
                <div class="table-div">
                    <table class="table-list"  id="table_left">
                        <tr><td><div class="memberName">朱建1<span class="memberNum hide "><em>zhangjian1&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建2<span class="memberNum hide"><em>zhangjian2&nbsp;path1/path2/path3</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建3<span class="memberNum hide"><em>zhangjian3&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建4<span class="memberNum hide"><em>zhangjian4&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建5<span class="memberNum hide"><em>zhangjian5&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建6<span class="memberNum hide"><em>zhangjian6&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                    </table>
                </div>


            </div>
            <div class="selectionMid">
                <ul>
                    <li><button class="singleRight"></button></li>
                    <li><button class="singleLeft"></button> </li>
                    <li><button class="allRight"></button></li>
                    <li><button class="allLeft"></button></li>

                </ul>
            </div>
            <div class="selectionRight mobile">
                <!-- <div class="pagination paginationRight">
                    <a href="#" class="first" data-action="first">&laquo;</a>
                    <a href="#" class="previous" data-action="previous">&lsaquo;</a>
                    <input type="text" readonly="readonly" data-max-page="40" />
                    <a href="#" class="next" data-action="next">&rsaquo;</a>
                    <a href="#" class="last" data-action="last">&raquo;</a>
                </div><br> -->
                <div class="table-div">
                    <table class="table-list" id="table_right">

                    </table>
                </div>

            </div>
        </div>

    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="pushData">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.jqpagination.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script src="${ctx}/resources/admin/js/common.js"></script>
<script src="${ctx}/resources/admin/js/userConfigurationData/groupManagement.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.core-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.excheck-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.exedit-3.1.min.js"></script>
<script type="text/javascript" src="${ctx}/resources/artDialog/jquery.artDialog.js?skin=blue"></script>
<script type="text/javascript">
$(function(){
	common.menuClicked('P3', 'C6');
});
</script>
</body>
</html>
